//
//  ANColorMacro.h
//  ShenWeiRent
//
//  Created by 李叶夫 on 2019/3/1.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#ifndef ANColorMacro_h
#define ANColorMacro_h

#define RGBColor(r, g, b) RGBAColor(r, g, b, 1)
#define RGBAColor(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]


#define ThemeColor RGBColor(9, 132, 227)
#define MainTextColor RGBColor(80, 80, 80)
#define kColor333333 UIColorFromRGB(0x333333)
#define kColor666666 UIColorFromRGB(0x666666)
#define kColor777777 UIColorFromRGB(0x777777)
#define kColor888888 UIColorFromRGB(0x888888)
#define kColor999999 UIColorFromRGB(0x999999)
#define kColorAAAAAA UIColorFromRGB(0xAAAAAA)
#define kColorBBBBBB UIColorFromRGB(0xBBBBBB)
#define kColorFF2C2C UIColorFromRGB(0xFF2C2C)
#define kColor287AF6 UIColorFromRGB(0x287AF6)
#define kColorF2F2F2 UIColorFromRGB(0xF2F2F2)
#define kColor1A75FF UIColorFromRGB(0x1A75FF)
#define kColorF5F5F5 UIColorFromRGB(0xF5F5F5)
#define kColorFF6B6B UIColorFromRGB(0xFF6B6B)

#define kColorFF4444 UIColorFromRGB(0xFF4444)//红色
#define kColorFFB33B UIColorFromRGB(0xFFB33B)//黄色
#define kColorA08FDF UIColorFromRGB(0xA08FDF)//紫色
#define kColor7CBB7D UIColorFromRGB(0x7CBB7D)//绿色

#define kColorDDD UIColorFromRGB(0xDDDDDD)
#define kColorDFDFDF UIColorFromRGB(0xDFDFDF)

#define kColorGradientBegin UIColorFromRGB(0x2782FF)
#define kColorGradientEnd UIColorFromRGB(0x61A5F8)

#endif /* ANColorMacro_h */
